package com.though.utils.result;

public enum ResultCode {

	ERROR(400, "系统发生错误！"),PARAM_ERROR(300, "参数不正确！"), SUCCESS(200, "请求成功！"), TRANS_ERROR(9000, "数据转换错误！"),
	PRODUCT_SALE_OUT(8000, "已售罄"), SIGN_ERROR_CODE(300, "签名校验失败！"), SHOP_MEMBER_AUDIT_NULL(10000, "很抱歉，系统未有您的申请记录！"), SHOP_MEMBER_AUDITING(10001, "会员申请审核中"), 
	SHOP_MEMBER_AUDIT_ERROR(10002, "会员申请审核失败！"),USER_NOT_LOGIN(10003,"请登录再试！");
	
	private int code;
	
	private String msg;
	
	private ResultCode(int code, String msg) {  
        this.code = code;  
        this.msg = msg;  
    }

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	} 
}